package org.common.utils.tool;
import org.apache.velocity.app.Velocity;
import java.util.Properties;

/**
 * @author zhouzhibing
 * @date 2025/8/6
 */
public class VelocityTool {

    /**
     * 初始化 Velocity
     */
    public static void init() {
        Properties props = new Properties();
        props.put("file.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader");
        props.put("runtime.references.strict", "false");
        Velocity.init(props);
    }
}
